home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / apparmor.d / abstractions / base < prev    next >
Text File  |  2008-10-08  |  4KB  |  106 lines

  1. # vim:syntax=apparmor
  2. # $Id: base 949 2007-08-28 00:49:51Z seth_arnold $
  3. # ------------------------------------------------------------------
  4. #
  5. #    Copyright (C) 2002-2005 Novell/SUSE
  6. #
  7. #    This program is free software; you can redistribute it and/or
  8. #    modify it under the terms of version 2 of the GNU General Public
  9. #    License published by the Free Software Foundation.
  10. #
  11. # ------------------------------------------------------------------
  12.  
  13.  
  14.  
  15.   # (Note that the ldd profile has inlined this file; if you make
  16.   # modifications here, please consider including them in the ldd
  17.   # profile as well.)
  18.  
  19.   # The __canary_death_handler function writes a time-stamped log
  20.   # message to /dev/log for logging by syslogd. So, /dev/log, timezones,
  21.   # and localisations of date should be available EVERYWHERE, so
  22.   # StackGuard, FormatGuard, etc., alerts can be properly logged.
  23.   /dev/log                       w,
  24.   /dev/random                    r,
  25.   /dev/urandom                   r,
  26.   /etc/locale/**                 r,
  27.   /etc/locale.alias              r,
  28.   /etc/localtime                 r,
  29.   /usr/share/locale/**           r,
  30.   /usr/share/zoneinfo/**         r,
  31.   /usr/share/X11/locale/**       r,
  32.  
  33.   /usr/lib64/locale/**           mr,
  34.   /usr/lib32/gconv/*.so          mr,
  35.   /usr/lib32/gconv/gconv-modules*  mr,
  36.   /usr/lib64/gconv/*.so          mr,
  37.   /usr/lib64/gconv/gconv-modules*  mr,
  38.   /usr/lib/locale/**             mr,
  39.   /usr/lib/gconv/*.so            mr,
  40.   /usr/lib/gconv/gconv-modules*  mr,
  41.  
  42.   # used by glibc when binding to ephemeral ports
  43.   /etc/bindresvport.blacklist    r,
  44.  
  45.   # ld.so.cache and ld are used to load shared libraries; they are best
  46.   # available everywhere
  47.   /etc/ld.so.cache               mr,
  48.   /lib/ld-*.so                   mrix,
  49.   /lib32/ld-*.so                 mrix,
  50.   /lib64/ld-*.so                 mrix,
  51.   /lib/ld32-*.so                 mrix,
  52.   /lib/ld64-*.so                 mrix,
  53.   /lib32/ld32-*.so               mrix,
  54.   /lib64/ld64-*.so               mrix,
  55.   /lib/tls/i686/{cmov,nosegneg}/ld-*.so     mrix,
  56.   /opt/*-linux-uclibc/lib/ld-uClibc*so* mrix,
  57.  
  58.   # we might as well allow everything to use common libraries
  59.   /lib/lib*.so*                  mr,
  60.   /lib32/lib*.so*                mr,
  61.   /lib64/lib*.so*                mr,
  62.  
  63.   /lib/*/lib*.so*                mr,
  64.   /lib32/*/lib*.so*              mr,
  65.   /lib64/*/lib*.so*              mr,
  66.  
  67.   /usr/lib/**                    r,
  68.   /usr/lib/*.so*                 mr,
  69.   /usr/lib/**/lib*.so*           mr,
  70.  
  71.   /usr/lib32/**                  r,
  72.   /usr/lib32/*.so*               mr,
  73.   /usr/lib32/**/lib*.so*         mr,
  74.  
  75.   /usr/lib64/**                  r,
  76.   /usr/lib64/*.so*               mr,
  77.   /usr/lib64/**/lib*.so*         mr,
  78.  
  79.   /usr/lib/sasl2/*.so*           mr,
  80.   /usr/lib32/sasl2/*.so*         mr,
  81.   /usr/lib64/sasl2/*.so*         mr,
  82.  
  83.   /lib/tls/i686/{cmov,nosegneg}/lib*.so*    mr,
  84.  
  85.   # /dev/null is pretty harmless and frequently used
  86.   /dev/null                      rw,
  87.   # as is /dev/zero
  88.   /dev/zero                      rw,
  89.   # recent glibc uses /dev/full in preference to /dev/null for programs
  90.   # that don't have open fds at exec()
  91.   /dev/full                      rw,
  92.  
  93.   # Sometimes used to determine kernel/user interfaces to use
  94.   @{PROC}/sys/kernel/version     r,
  95.   # Depending on which glibc routine uses this file, base may not be the
  96.   # best place -- but many profiles require it, and it is quite harmless.
  97.   @{PROC}/sys/kernel/ngroups_max r,
  98.  
  99.   # glibc's sysconf(3) routine to determine free memory, etc
  100.   @{PROC}/meminfo                r,
  101.   @{PROC}/stat                   r,
  102.   @{PROC}/cpuinfo                r,
  103.  
  104.   # some applications will display license information
  105.   /usr/share/common-licenses/**  r,
  106.